// app.js
App({
  onLaunch() {
    const {screenHeight, screenWidth, statusBarHeight} = wx.getSystemInfoSync()
    this.globalData.screenHeight = screenHeight
    this.globalData.screenWidth = screenWidth
    this.globalData.statusBarHeight = statusBarHeight
  },
  globalData: {
    screenHeight: 0,
    screenWidth: 0,
    statusBarHeight: 0
  }
})
